package com.collaboration.electron.dao;

import com.collaboration.electron.entities.Composition;
import com.collaboration.electron.entities.DetailedComposition;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * @author pinzi
 * @param
 * @return 无
 */

public interface CompositionRepository extends CrudRepository<Composition, Long> {

    @Override
    List<Composition> findAll();

    List<Composition> findAllByDetailedComposition(DetailedComposition detailedComposition);
}
